CTR2-MIDI codes

app mapping is RHR (IOS)

knob
home mode - 40h (64) is the "middle" and never sent
b0 64 41 knob - CW - VFO up (VFO up)
	41-4c speed tuning slow (12 speeds?)
	41-58 speed tuning fast (18 speeds?)
b0 64 3f knob - CCW - VFO down (VFO down)
	3f-34 speed tuning slow (12 speeds?)
	3f-28 speed tuning fast (18 speeds?)

b0 65 counts up - press & turn CW - (VFO up)
b0 65 counts down - press & turn CCW - (VFO down)

mode 1
b0 66 counts up - CW - NR level up (volume up)
b0 66 counts down - CCW - NR level down (volume down)
b0 67 counts up - press & turn CW - NB level up 
b0 67 counts down - press & turn CCW - NB level down

mode 2
b0 68 counts up - CW - VOX level up (RIT up)
b0 68 counts down - CCW - VOX level down (RIT down)
b0 69 counts up - press & turn CW
b0 69 counts down - press & turn CCW

mode 3
b0 6a counts up - CW - keyer speed up (tx power up)
b0 6a counts down - CCW - keyer speed down (tx power down)
b0 6b counts up - press & turn CW
b0 6b counts down - press & turn CCW

button short press
90 01 7f - button 1 on - CW mode (mode next)
80 01 00 - button 1 off
90 02 7f - button 2 on - SSB mode (band next)
80 02 00 - button 2 off
90 03 7f - button 3 on - FT8 mode (mute toggle)
80 03 00 - button 3 off
90 04 7f - button 4 on - toggle PTT (toggle NR)
80 04 00 - button 4 off
90 05 7f - button 5 on - band down (zoom in)
80 05 00 - button 5 off
90 06 7f - button 6 on - band up (tune step 1,10,100,1000)
80 06 00 - button 6 off

button long press
90 0b 7f - button 1 on - toggle NR (mode CW)
80 0b 00 - button 1 off
90 0c 7f - button 2 on - toggle NB (band previous)
80 0c 00 - button 2 off
90 0d 7f - button 3 on - FT4 mode (toggle NR)
80 0d 00 - button 3 off
90 0e 7f - button 4 on - toggle VOX (toggle NB)
80 0e 00 - button 4 off
90 0f 7f - button 5 on - (zoom out)
80 0f 00 - button 5 off
90 10 7f - button 6 on
80 10 00 - button 6 off

cw paddle

shuttle buttons
1 - mode up SWT18;
2 - A/B SWT11;
3 - A>B SWT13;
4 - split SWH13;
CW - up 10 UP1; 41
CCW - down 10 DN1; 3f
CW - up 100 UP8; 42,43
CCW - down 100 DN8; 3e,3d
CW - up 1000 UP4; 44,45
CCW - down 1000 DN4; 3c,3b
CW - up 5000 UP7; 46,47,48,49,4a,4b,4c
CCW - down 5000 DN7; 3a,39,38,37,36,35,34



